package com.anmong.cloud.cloudadmin;

import com.anmong.cloud.cloudcommon.config.DefaultFeignConfig;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

@SpringBootApplication(scanBasePackages={"com.anmong"})
@MapperScan({"com.anmong.cloud.cloudapi.mapper"})
@EnableDiscoveryClient
@EnableFeignClients(defaultConfiguration = DefaultFeignConfig.class)
public class CloudAdminApplication {

    public static void main( String[] args )
    {
        SpringApplication.run(CloudAdminApplication.class, args);
    }
}
